package com.account.book.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liang-hw
 * @className ApprovalInfoResVo
 * @description 审批记录信息
 * @date 2024/01/20 16:54:58
 */
@Data
@ApiModel(value = "审批记录信息", description = "审批记录信息")
public class ApprovalInfoResVo {

    @ApiModelProperty("自增id")
    private String id;

    @ApiModelProperty("申请用户id")
    private String approvalUserId;

    @ApiModelProperty("申请用户名称")
    private String approvalUserName;

    @ApiModelProperty("账本id")
    private String bookId;

    @ApiModelProperty("账本名称")
    private String bookName;

    @ApiModelProperty("审批用户id")
    private String userId;

    @ApiModelProperty("审批用户名称")
    private String userName;

    @ApiModelProperty("启用状态（0-拒绝 ，1-同意）")
    private Integer approvalStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
}
